.class public final Lnbisdk/ao;
.super Lnbisdk/cc;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lnbisdk/ao$a;,
        Lnbisdk/ao$b;,
        Lnbisdk/ij$a;
    }
.end annotation


# static fields
.field private static mHandler:Landroid/os/Handler;


# instance fields
.field private aW:Lnbisdk/hf;

.field private aX:Lnbisdk/mn;

.field private aY:Landroid/view/View;

.field private aZ:Lnbisdk/ij;

.field private ba:Landroid/graphics/Paint;

.field private bb:Lnbisdk/do;

.field private bc:Lnbisdk/no;

.field private bd:Lnbisdk/o;

.field private be:Lnbisdk/cc;

.field private bf:Landroid/graphics/Bitmap;

.field private bg:Landroid/graphics/Rect;

.field private bh:Landroid/graphics/Rect;

.field private bi:Lcom/nbi/map/data/Rectangle;

.field private bj:Lnbisdk/co;

.field private bk:Lnbisdk/lf;

.field private bl:I

.field private bm:Z

.field private bn:[F

.field private bo:Z

.field private bp:Lnbisdk/ij$a;

.field private bq:Lnbisdk/aj;

.field private br:Lnbisdk/ao$b;

.field private bs:Lnbisdk/ao$a;

.field private bt:Landroid/graphics/BitmapFactory$Options;

.field private bu:Landroid/telephony/PhoneStateListener;

.field private bv:Lcom/nbi/map/data/Coordinates;


# direct methods
.method private constructor <init>(Lcom/nbi/common/NBIContext;Ljava/lang/String;Lnbisdk/no;Lnbisdk/nl;Landroid/view/View;)V
    .locals 6

    const/4 v0, 0x0

    const/4 v5, 0x1

    const/4 v4, 0x0

    invoke-direct {p0, p1, p2, v0, p4}, Lnbisdk/cc;-><init>(Lcom/nbi/common/NBIContext;Ljava/lang/String;Lnbisdk/cc;Lnbisdk/nl;)V

    iput-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    iput-boolean v4, p0, Lnbisdk/ao;->bo:Z

    iput-object v0, p0, Lnbisdk/ao;->bt:Landroid/graphics/BitmapFactory$Options;

    iput-object v0, p0, Lnbisdk/ao;->bv:Lcom/nbi/map/data/Coordinates;

    iput-object p0, p0, Lnbisdk/ao;->be:Lnbisdk/cc;

    invoke-static {}, Lnbisdk/ec;->dT()Lnbisdk/ec;

    move-result-object v1

    invoke-virtual {p1}, Lcom/nbi/common/NBIContext;->getInternalObject()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/bl;

    invoke-virtual {v1, v0}, Lnbisdk/ec;->a(Lnbisdk/bl;)V

    iput v4, p0, Lnbisdk/ao;->bl:I

    iput-object p5, p0, Lnbisdk/ao;->aY:Landroid/view/View;

    iput-object p3, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0}, Landroid/graphics/Paint;-><init>()V

    iput-object v0, p0, Lnbisdk/ao;->ba:Landroid/graphics/Paint;

    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lnbisdk/ao;->bg:Landroid/graphics/Rect;

    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lnbisdk/ao;->bh:Landroid/graphics/Rect;

    new-instance v0, Lcom/nbi/map/data/Rectangle;

    invoke-direct {v0}, Lcom/nbi/map/data/Rectangle;-><init>()V

    iput-object v0, p0, Lnbisdk/ao;->bi:Lcom/nbi/map/data/Rectangle;

    new-instance v0, Lnbisdk/ij;

    invoke-direct {v0, p1, p0}, Lnbisdk/ij;-><init>(Lcom/nbi/common/NBIContext;Lnbisdk/ao;)V

    iput-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    new-instance v0, Lnbisdk/hf;

    invoke-direct {v0}, Lnbisdk/hf;-><init>()V

    iput-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    new-instance v0, Lnbisdk/do;

    invoke-direct {v0, p1}, Lnbisdk/do;-><init>(Lcom/nbi/common/NBIContext;)V

    iput-object v0, p0, Lnbisdk/ao;->bb:Lnbisdk/do;

    iget-object v0, p0, Lnbisdk/ao;->bb:Lnbisdk/do;

    const-string v1, "tilePlaceholder.png"

    invoke-virtual {v0, v1}, Lnbisdk/do;->j(Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/ao;->bf:Landroid/graphics/Bitmap;

    new-instance v0, Lnbisdk/co;

    invoke-direct {v0, p0, p5}, Lnbisdk/co;-><init>(Lnbisdk/cc;Landroid/view/View;)V

    iput-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    new-instance v0, Lnbisdk/ao$b;

    invoke-direct {v0, p0}, Lnbisdk/ao$b;-><init>(Lnbisdk/ao;)V

    iput-object v0, p0, Lnbisdk/ao;->br:Lnbisdk/ao$b;

    new-instance v0, Lnbisdk/ao$a;

    invoke-direct {v0, p0}, Lnbisdk/ao$a;-><init>(Lnbisdk/ao;)V

    iput-object v0, p0, Lnbisdk/ao;->bs:Lnbisdk/ao$a;

    new-instance v0, Lnbisdk/aj;

    invoke-direct {v0, p0}, Lnbisdk/aj;-><init>(Lnbisdk/ao;)V

    iput-object v0, p0, Lnbisdk/ao;->bq:Lnbisdk/aj;

    iput-boolean v4, p0, Lnbisdk/ao;->bm:Z

    const/16 v0, 0x9

    new-array v0, v0, [F

    iput-object v0, p0, Lnbisdk/ao;->bn:[F

    new-instance v0, Lnbisdk/mn;

    invoke-direct {v0}, Lnbisdk/mn;-><init>()V

    iput-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_ROUTE_LAYER"

    invoke-static {p1, v1, p0, p4}, Lnbisdk/au$a;->e(Lcom/nbi/common/NBIContext;Ljava/lang/String;Lnbisdk/cc;Lnbisdk/nl;)Lnbisdk/nw;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnbisdk/mn;->d(Lnbisdk/lf;)V

    iget-object v1, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v2, "NBI_TRAFFIC_LAYER"

    new-instance v3, Lnbisdk/cc;

    invoke-virtual {p4}, Lnbisdk/nl;->bV()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/nl;

    invoke-direct {v3, p1, v2, p0, v0}, Lnbisdk/cc;-><init>(Lcom/nbi/common/NBIContext;Ljava/lang/String;Lnbisdk/cc;Lnbisdk/nl;)V

    const/16 v0, 0xa

    invoke-virtual {v3, v0}, Lnbisdk/cc;->aC(I)V

    invoke-virtual {v3, v4}, Lnbisdk/cc;->setVisible(Z)V

    const-string v0, "png"

    invoke-virtual {v3, v0}, Lnbisdk/cc;->z(Ljava/lang/String;)V

    const-string v0, "192"

    invoke-virtual {v3, v0}, Lnbisdk/cc;->A(Ljava/lang/String;)V

    const-string v0, "traffic"

    invoke-virtual {v3, v0}, Lnbisdk/cc;->y(Ljava/lang/String;)V

    invoke-virtual {v3, v4}, Lnbisdk/cc;->A(Z)V

    invoke-virtual {v3, v4}, Lnbisdk/cc;->o(Z)V

    invoke-virtual {v1, v3}, Lnbisdk/mn;->d(Lnbisdk/lf;)V

    iget-object v1, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v2, "NBI_MAP_LAYER"

    new-instance v3, Lnbisdk/cc;

    invoke-virtual {p4}, Lnbisdk/nl;->bV()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/nl;

    invoke-direct {v3, p1, v2, p0, v0}, Lnbisdk/cc;-><init>(Lcom/nbi/common/NBIContext;Ljava/lang/String;Lnbisdk/cc;Lnbisdk/nl;)V

    invoke-virtual {v3, v5}, Lnbisdk/cc;->aC(I)V

    invoke-virtual {v3, v5}, Lnbisdk/cc;->setVisible(Z)V

    const-string v0, "png"

    invoke-virtual {v3, v0}, Lnbisdk/cc;->z(Ljava/lang/String;)V

    const-string v0, "192"

    invoke-virtual {v3, v0}, Lnbisdk/cc;->A(Ljava/lang/String;)V

    const-string v0, "road"

    invoke-virtual {v3, v0}, Lnbisdk/cc;->y(Ljava/lang/String;)V

    invoke-virtual {v3, v5}, Lnbisdk/cc;->A(Z)V

    invoke-virtual {v3, v5}, Lnbisdk/cc;->o(Z)V

    invoke-virtual {v1, v3}, Lnbisdk/mn;->d(Lnbisdk/lf;)V

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "LOCATION_LAYER_NAME"

    invoke-static {p1, v1, p0, p4}, Lnbisdk/au$a;->d(Lcom/nbi/common/NBIContext;Ljava/lang/String;Lnbisdk/cc;Lnbisdk/nl;)Lnbisdk/fz;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnbisdk/mn;->d(Lnbisdk/lf;)V

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_TRAFFIC_INCIDENT_LAYER"

    invoke-static {p1, v1, p0, p4}, Lnbisdk/au$a;->b(Lcom/nbi/common/NBIContext;Ljava/lang/String;Lnbisdk/cc;Lnbisdk/nl;)Lnbisdk/x;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnbisdk/mn;->d(Lnbisdk/lf;)V

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_PIN_LAYER"

    invoke-static {p1, v1, p0, p4}, Lnbisdk/au$a;->a(Lcom/nbi/common/NBIContext;Ljava/lang/String;Lnbisdk/cc;Lnbisdk/nl;)Lnbisdk/en;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnbisdk/mn;->d(Lnbisdk/lf;)V

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "INTERACTIVE_LAYER_NAME"

    invoke-static {p1, v1, p0, p4}, Lnbisdk/au$a;->c(Lcom/nbi/common/NBIContext;Ljava/lang/String;Lnbisdk/cc;Lnbisdk/nl;)Lnbisdk/cx;

    move-result-object v1

    invoke-virtual {v0, v1}, Lnbisdk/mn;->d(Lnbisdk/lf;)V

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    iget-object v1, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0, p0, v1}, Lnbisdk/hf;->c(Lnbisdk/lf;Lnbisdk/ij;)V

    invoke-static {}, Lnbisdk/ec;->dT()Lnbisdk/ec;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/ec;->dV()Lnbisdk/jg;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-direct {p0, v0, v4}, Lnbisdk/ao;->a(Lnbisdk/jg;Z)V

    :cond_0
    invoke-virtual {p0}, Lnbisdk/ao;->ar()V

    iget-object v0, p0, Lnbisdk/ao;->aY:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->invalidate()V

    iget-object v0, p0, Lnbisdk/ao;->aY:Landroid/view/View;

    new-instance v1, Lnbisdk/ao$2;

    invoke-direct {v1, p0}, Lnbisdk/ao$2;-><init>(Lnbisdk/ao;)V

    const-wide/16 v2, 0x32

    invoke-virtual {v0, v1, v2, v3}, Landroid/view/View;->postDelayed(Ljava/lang/Runnable;J)Z

    :try_start_0
    invoke-virtual {p0}, Lnbisdk/ao;->hZ()Lcom/nbi/common/NBIContext;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nbi/common/NBIContext;->getInternalObject()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/bl;

    invoke-virtual {v0}, Lnbisdk/bl;->jw()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Lnbisdk/ao$1;

    invoke-direct {v1, p0}, Lnbisdk/ao$1;-><init>(Lnbisdk/ao;)V

    iput-object v1, p0, Lnbisdk/ao;->bu:Landroid/telephony/PhoneStateListener;

    const-string v1, "phone"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/telephony/TelephonyManager;

    iget-object v1, p0, Lnbisdk/ao;->bu:Landroid/telephony/PhoneStateListener;

    const/16 v2, 0x20

    invoke-virtual {v0, v1, v2}, Landroid/telephony/TelephonyManager;->listen(Landroid/telephony/PhoneStateListener;I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public static a(Lcom/nbi/map/android/MapConfiguration;Lnbisdk/no;Landroid/view/View;Landroid/os/Handler;Lcom/nbi/map/data/Rectangle;)Lnbisdk/ao;
    .locals 7

    sput-object p3, Lnbisdk/ao;->mHandler:Landroid/os/Handler;

    new-instance v4, Lnbisdk/nl;

    invoke-direct {v4}, Lnbisdk/nl;-><init>()V

    invoke-static {}, Lnbisdk/ec;->dT()Lnbisdk/ec;

    move-result-object v0

    invoke-virtual {p0}, Lcom/nbi/map/android/MapConfiguration;->getMinimumZoomLevel()I

    move-result v1

    invoke-virtual {v0, v1}, Lnbisdk/ec;->N(I)I

    move-result v1

    invoke-virtual {v4, v1}, Lnbisdk/nl;->G(I)V

    invoke-virtual {p0}, Lcom/nbi/map/android/MapConfiguration;->getMaximumZoomLevel()I

    move-result v1

    invoke-virtual {v0, v1}, Lnbisdk/ec;->N(I)I

    move-result v1

    invoke-virtual {v4, v1}, Lnbisdk/nl;->H(I)V

    invoke-virtual {p0}, Lcom/nbi/map/android/MapConfiguration;->getZoom()I

    move-result v1

    invoke-virtual {v0, v1}, Lnbisdk/ec;->N(I)I

    move-result v0

    invoke-virtual {v4, v0}, Lnbisdk/nl;->F(I)V

    invoke-virtual {p0}, Lcom/nbi/map/android/MapConfiguration;->getCenter()Lcom/nbi/map/data/Coordinates;

    move-result-object v0

    if-nez v0, :cond_0

    new-instance v0, Lcom/nbi/map/data/Coordinates;

    const-wide v1, 0x4043e9fd8adab9f5L

    const-wide v5, -0x3fa75ae9f6a93f29L

    invoke-direct {v0, v1, v2, v5, v6}, Lcom/nbi/map/data/Coordinates;-><init>(DD)V

    :cond_0
    invoke-virtual {v4, v0}, Lnbisdk/nl;->setCenter(Lcom/nbi/map/data/Coordinates;)V

    invoke-static {}, Lnbisdk/ec;->dT()Lnbisdk/ec;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/ec;->cc()I

    move-result v0

    invoke-virtual {v4, v0}, Lnbisdk/nl;->I(I)V

    invoke-virtual {v4, p4}, Lnbisdk/nl;->b(Lcom/nbi/map/data/Rectangle;)V

    invoke-virtual {p0}, Lcom/nbi/map/android/MapConfiguration;->getZoomButtons()Z

    move-result v0

    invoke-virtual {v4, v0}, Lnbisdk/nl;->setZoomButtons(Z)V

    invoke-virtual {p0}, Lcom/nbi/map/android/MapConfiguration;->getTrafficButton()Z

    move-result v0

    invoke-virtual {v4, v0}, Lnbisdk/nl;->setTrafficButton(Z)V

    const-string v0, "screenRectangle"

    invoke-virtual {p4}, Lcom/nbi/map/data/Rectangle;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lnbisdk/x$1;->a(Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    new-instance v0, Lnbisdk/ao;

    invoke-virtual {p0}, Lcom/nbi/map/android/MapConfiguration;->getNBIContext()Lcom/nbi/common/NBIContext;

    move-result-object v1

    const-string v2, "TileMapControl"

    move-object v3, p1

    move-object v5, p2

    invoke-direct/range {v0 .. v5}, Lnbisdk/ao;-><init>(Lcom/nbi/common/NBIContext;Ljava/lang/String;Lnbisdk/no;Lnbisdk/nl;Landroid/view/View;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    return-object v0
.end method

.method private a(DDZZZ)V
    .locals 10

    invoke-virtual {p0}, Lnbisdk/ao;->ca()D

    move-result-wide v0

    cmpl-double v0, v0, p1

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lnbisdk/ao;->cb()D

    move-result-wide v0

    cmpl-double v0, v0, p3

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->isAnimating()Z

    move-result v0

    if-eqz v0, :cond_2

    new-instance v0, Lcom/nbi/map/data/Coordinates;

    invoke-direct {v0, p1, p2, p3, p4}, Lcom/nbi/map/data/Coordinates;-><init>(DD)V

    iput-object v0, p0, Lnbisdk/ao;->bv:Lcom/nbi/map/data/Coordinates;

    goto :goto_0

    :cond_2
    if-eqz p5, :cond_4

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {p0}, Lnbisdk/ao;->ca()D

    move-result-wide v1

    invoke-virtual {p0}, Lnbisdk/ao;->cb()D

    move-result-wide v3

    move-wide v5, p1

    move-wide v7, p3

    invoke-virtual/range {v0 .. v8}, Lnbisdk/co;->a(DDDD)Z

    move-result v0

    :goto_1
    if-nez v0, :cond_3

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v0, p1, p2, p3, p4}, Lnbisdk/hf;->a(DD)Z

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v0, p1, p2, p3, p4}, Lnbisdk/hf;->setCenter(DD)V

    const/4 v5, 0x0

    move-object v0, p0

    move-wide v1, p1

    move-wide v3, p3

    move/from16 v6, p6

    invoke-super/range {v0 .. v6}, Lnbisdk/cc;->a(DDZZ)V

    const/4 v0, 0x0

    const/4 v1, 0x1

    invoke-direct {p0, v0, v1}, Lnbisdk/ao;->b(ZZ)V

    if-eqz p7, :cond_0

    iget-object v0, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    invoke-virtual {p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v1

    int-to-double v5, v1

    const/4 v7, 0x0

    move-wide v1, p1

    move-wide v3, p3

    move/from16 v8, p6

    invoke-interface/range {v0 .. v8}, Lnbisdk/no;->a(DDDZZ)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {p0}, Lnbisdk/ao;->ca()D

    move-result-wide v1

    invoke-virtual {p0}, Lnbisdk/ao;->cb()D

    move-result-wide v3

    move-wide v5, p1

    move-wide v7, p3

    move/from16 v9, p6

    invoke-virtual/range {v0 .. v9}, Lnbisdk/co;->a(DDDDZ)V

    goto :goto_0

    :cond_4
    move v0, p5

    goto :goto_1
.end method

.method private a(Ljava/lang/String;Z)V
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0, p1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object v0

    invoke-direct {p0, v0, p2}, Lnbisdk/ao;->a(Lnbisdk/lf;Z)V

    return-void
.end method

.method static synthetic a(Lnbisdk/ao;)V
    .locals 0

    invoke-direct {p0}, Lnbisdk/ao;->ag()V

    return-void
.end method

.method private a(Lnbisdk/cc;IZ)V
    .locals 4

    const-string v0, "png"

    const-string v1, "road"

    const/4 v2, 0x2

    if-ne p2, v2, :cond_0

    const-string v0, "jpg"

    const-string v1, "satellite"

    move-object v3, v1

    move-object v1, v0

    move-object v0, v3

    :goto_0
    invoke-virtual {p1, v1}, Lnbisdk/cc;->z(Ljava/lang/String;)V

    invoke-virtual {p1, v0}, Lnbisdk/cc;->y(Ljava/lang/String;)V

    const/4 v0, 0x1

    invoke-direct {p0, p1, v0}, Lnbisdk/ao;->a(Lnbisdk/lf;Z)V

    return-void

    :cond_0
    const/4 v2, 0x4

    if-ne p2, v2, :cond_1

    const-string v0, "jpg"

    const-string v1, "hybrid"

    move-object v3, v1

    move-object v1, v0

    move-object v0, v3

    goto :goto_0

    :cond_1
    move-object v3, v1

    move-object v1, v0

    move-object v0, v3

    goto :goto_0
.end method

.method private a(Lnbisdk/jg;Z)V
    .locals 4

    const/4 v3, 0x0

    const/4 v2, 0x1

    if-eqz p2, :cond_0

    invoke-static {}, Lnbisdk/ec;->dT()Lnbisdk/ec;

    move-result-object v0

    invoke-virtual {v0, p1}, Lnbisdk/ec;->b(Lnbisdk/jg;)V

    :cond_0
    invoke-virtual {p1}, Lnbisdk/jg;->gZ()I

    move-result v0

    invoke-virtual {p0}, Lnbisdk/ao;->bY()I

    move-result v1

    if-le v0, v1, :cond_1

    invoke-virtual {p1}, Lnbisdk/jg;->gZ()I

    move-result v0

    invoke-virtual {p0, v0}, Lnbisdk/ao;->G(I)V

    :cond_1
    invoke-virtual {p1}, Lnbisdk/jg;->ha()I

    move-result v0

    invoke-virtual {p0, v0}, Lnbisdk/ao;->H(I)V

    invoke-virtual {p1}, Lnbisdk/jg;->cc()I

    move-result v0

    invoke-virtual {p0, v0}, Lnbisdk/ao;->I(I)V

    iget-boolean v0, p0, Lnbisdk/ao;->bo:Z

    if-nez v0, :cond_2

    invoke-virtual {p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v0

    invoke-super {p0, v0, v3, v3}, Lnbisdk/cc;->a(IZZ)V

    :cond_2
    iput-boolean v2, p0, Lnbisdk/ao;->bo:Z

    invoke-direct {p0, v2, v2}, Lnbisdk/ao;->b(ZZ)V

    return-void
.end method

.method private a(Lnbisdk/lf;Z)V
    .locals 1

    if-nez p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p1, p2}, Lnbisdk/lf;->setVisible(Z)V

    iget-object v0, p0, Lnbisdk/ao;->bp:Lnbisdk/ij$a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/ao;->bp:Lnbisdk/ij$a;

    invoke-virtual {v0}, Lnbisdk/ij$a;->hn()V

    goto :goto_0
.end method

.method private aC()Lnbisdk/x;
    .locals 2

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_TRAFFIC_INCIDENT_LAYER"

    invoke-virtual {v0, v1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object p0

    check-cast p0, Lnbisdk/x;

    return-object p0
.end method

.method private aD()Lnbisdk/fz;
    .locals 2

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "LOCATION_LAYER_NAME"

    invoke-virtual {v0, v1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object p0

    check-cast p0, Lnbisdk/fz;

    return-object p0
.end method

.method private ag()V
    .locals 3

    const/4 v2, 0x2

    const/4 v1, 0x1

    iget v0, p0, Lnbisdk/ao;->bl:I

    if-eq v0, v2, :cond_0

    iput v2, p0, Lnbisdk/ao;->bl:I

    invoke-direct {p0, v1, v1}, Lnbisdk/ao;->b(ZZ)V

    :cond_0
    return-void
.end method

.method private static ap()V
    .locals 2

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v1, 0x3e8

    iput v1, v0, Landroid/os/Message;->arg1:I

    sget-object v1, Lnbisdk/ao;->mHandler:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->dispatchMessage(Landroid/os/Message;)V

    return-void
.end method

.method private as()Lnbisdk/cc;
    .locals 2

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_MAP_LAYER"

    invoke-virtual {v0, v1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object p0

    check-cast p0, Lnbisdk/cc;

    return-object p0
.end method

.method private av()Lnbisdk/cx;
    .locals 2

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "INTERACTIVE_LAYER_NAME"

    invoke-virtual {v0, v1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object p0

    check-cast p0, Lnbisdk/cx;

    return-object p0
.end method

.method static synthetic b(Lnbisdk/ao;)Lnbisdk/cc;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->be:Lnbisdk/cc;

    return-object v0
.end method

.method private b(ZZ)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    iget v0, p0, Lnbisdk/ao;->bl:I

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->fa()Z

    move-result v0

    if-nez v0, :cond_3

    invoke-virtual {p0}, Lnbisdk/ao;->cf()Z

    move-result v0

    if-nez v0, :cond_3

    invoke-virtual {p0}, Lnbisdk/ao;->ce()Z

    move-result v0

    if-nez v0, :cond_3

    if-nez p1, :cond_2

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v0}, Lnbisdk/hf;->fI()Z

    move-result v0

    if-eqz v0, :cond_3

    :cond_2
    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    iget-object v1, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0, p0, v1}, Lnbisdk/hf;->c(Lnbisdk/lf;Lnbisdk/ij;)V

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0, v2, p2}, Lnbisdk/ij;->k(ZZ)V

    invoke-virtual {p0}, Lnbisdk/ao;->aq()V

    invoke-virtual {p0, v3}, Lnbisdk/ao;->e(Z)V

    invoke-virtual {p0, v2}, Lnbisdk/ao;->p(Z)V

    :cond_3
    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->fa()Z

    move-result v0

    if-nez v0, :cond_4

    iget-object v0, p0, Lnbisdk/ao;->aY:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->invalidate()V

    :cond_4
    invoke-virtual {p0}, Lnbisdk/ao;->ce()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lnbisdk/ao;->dp()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0, v2}, Lnbisdk/ao;->p(Z)V

    invoke-virtual {p0, v3}, Lnbisdk/ao;->e(Z)V

    goto :goto_0
.end method

.method static synthetic c(Lnbisdk/ao;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->aY:Landroid/view/View;

    return-object v0
.end method

.method static synthetic d(Lnbisdk/ao;)Lnbisdk/co;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    return-object v0
.end method

.method private d(Z)V
    .locals 1

    const/4 v0, 0x1

    invoke-direct {p0, p1, v0}, Lnbisdk/ao;->b(ZZ)V

    return-void
.end method

.method static synthetic e(Lnbisdk/ao;)Lnbisdk/cc;
    .locals 1

    invoke-direct {p0}, Lnbisdk/ao;->as()Lnbisdk/cc;

    move-result-object v0

    return-object v0
.end method

.method static synthetic f(Lnbisdk/ao;)Lnbisdk/ij;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    return-object v0
.end method

.method private f(Ljava/lang/String;)Z
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0, p1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/lf;->isVisible()Z

    move-result v0

    return v0
.end method


# virtual methods
.method public final a(Lcom/nbi/map/android/Pin;ZZZ)I
    .locals 3

    const/4 v2, 0x0

    const/4 v0, -0x1

    invoke-virtual {p0}, Lnbisdk/ao;->aB()Lnbisdk/en;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-virtual {v1, p1, p2, p3, v2}, Lnbisdk/en;->a(Lcom/nbi/map/android/Pin;ZZZ)I

    move-result v0

    if-nez p3, :cond_0

    const/4 v1, 0x1

    invoke-direct {p0, v2, v1}, Lnbisdk/ao;->b(ZZ)V

    :cond_0
    return v0
.end method

.method public final a(DDIZZ)V
    .locals 19

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->id()I

    move-result v12

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->ie()I

    move-result v13

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v5

    move v0, v5

    move/from16 v1, p5

    if-eq v0, v1, :cond_2

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->ca()D

    move-result-wide v14

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->cb()D

    move-result-wide v16

    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    move-object v6, v0

    move-object v0, v6

    move-wide/from16 v1, p1

    move-wide/from16 v3, p3

    invoke-virtual {v0, v1, v2, v3, v4}, Lnbisdk/hf;->a(DD)Z

    move-result v6

    if-nez v6, :cond_5

    const/4 v5, 0x1

    move/from16 v18, v5

    :goto_0
    const/4 v10, 0x0

    move-object/from16 v5, p0

    move-wide/from16 v6, p1

    move-wide/from16 v8, p3

    move/from16 v11, p7

    invoke-super/range {v5 .. v11}, Lnbisdk/cc;->a(DDZZ)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    move-object v5, v0

    move-object v0, v5

    move-wide/from16 v1, p1

    move-wide/from16 v3, p3

    invoke-virtual {v0, v1, v2, v3, v4}, Lnbisdk/hf;->setCenter(DD)V

    cmpl-double v5, v14, p1

    if-eqz v5, :cond_4

    cmpl-double v5, v16, p3

    if-eqz v5, :cond_4

    const/4 v5, 0x1

    const/4 v6, 0x0

    move v7, v6

    :goto_1
    const/4 v6, 0x1

    if-ne v5, v6, :cond_0

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->ar()V

    :cond_0
    move-object/from16 v5, p0

    move/from16 v6, p5

    move/from16 v8, p7

    move v9, v12

    move v10, v13

    invoke-virtual/range {v5 .. v10}, Lnbisdk/ao;->a(IZZII)V

    :cond_1
    :goto_2
    return-void

    :cond_2
    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->ca()D

    move-result-wide v5

    cmpl-double v5, v5, p1

    if-nez v5, :cond_3

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->cb()D

    move-result-wide v5

    cmpl-double v5, v5, p3

    if-eqz v5, :cond_1

    :cond_3
    move-object/from16 v5, p0

    move-wide/from16 v6, p1

    move-wide/from16 v8, p3

    move/from16 v10, p6

    move/from16 v11, p7

    invoke-virtual/range {v5 .. v11}, Lnbisdk/ao;->a(DDZZ)V

    goto :goto_2

    :cond_4
    move/from16 v5, v18

    move/from16 v7, p6

    goto :goto_1

    :cond_5
    move/from16 v18, v5

    goto :goto_0
.end method

.method public final a(DDZZ)V
    .locals 8

    const/4 v7, 0x1

    move-object v0, p0

    move-wide v1, p1

    move-wide v3, p3

    move v5, p5

    move v6, p6

    invoke-direct/range {v0 .. v7}, Lnbisdk/ao;->a(DDZZZ)V

    return-void
.end method

.method public final a(IIZZ)V
    .locals 9

    const/4 v5, 0x0

    if-nez p1, :cond_0

    if-eqz p2, :cond_1

    :cond_0
    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v0, p1, p2}, Lnbisdk/hf;->d(II)V

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v0}, Lnbisdk/hf;->ca()D

    move-result-wide v1

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v0}, Lnbisdk/hf;->cb()D

    move-result-wide v3

    move-object v0, p0

    move v6, p4

    invoke-super/range {v0 .. v6}, Lnbisdk/cc;->a(DDZZ)V

    const/4 v0, 0x1

    invoke-direct {p0, v5, v0}, Lnbisdk/ao;->b(ZZ)V

    if-nez p3, :cond_1

    iget-object v0, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    iget-object v1, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v1}, Lnbisdk/hf;->ca()D

    move-result-wide v1

    iget-object v3, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v3}, Lnbisdk/hf;->cb()D

    move-result-wide v3

    invoke-virtual {p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v5

    int-to-double v5, v5

    move v7, p3

    move v8, p4

    invoke-interface/range {v0 .. v8}, Lnbisdk/no;->a(DDDZZ)V

    :cond_1
    return-void
.end method

.method public final a(IZZ)V
    .locals 6

    invoke-virtual {p0}, Lnbisdk/ao;->id()I

    move-result v4

    invoke-virtual {p0}, Lnbisdk/ao;->ie()I

    move-result v5

    move-object v0, p0

    move v1, p1

    move v2, p2

    move v3, p3

    invoke-virtual/range {v0 .. v5}, Lnbisdk/ao;->a(IZZII)V

    return-void
.end method

.method public final a(IZZII)V
    .locals 21

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v5

    move/from16 v0, p1

    move v1, v5

    if-eq v0, v1, :cond_1

    if-eqz p2, :cond_5

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v14

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->aq()V

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->isAnimating()Z

    move-result v5

    if-nez v5, :cond_0

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    move-object v5, v0

    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Lnbisdk/ij;->J(Z)Landroid/graphics/Bitmap;

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    move-object v5, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    move-object v6, v0

    move-object v0, v5

    move-object/from16 v1, p0

    move-object v2, v6

    invoke-virtual {v0, v1, v2}, Lnbisdk/hf;->b(Lnbisdk/lf;Lnbisdk/ij;)V

    :cond_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    move-object v5, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    move-object v6, v0

    move-object v0, v5

    move-object/from16 v1, p0

    move-object v2, v6

    invoke-virtual {v0, v1, v2}, Lnbisdk/hf;->a(Lnbisdk/lf;Lnbisdk/ij;)V

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->getCenter()Lcom/nbi/map/data/Coordinates;

    move-result-object v5

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->id()I

    move-result v6

    move/from16 v0, p4

    move v1, v6

    if-ne v0, v1, :cond_2

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->ie()I

    move-result v6

    move/from16 v0, p5

    move v1, v6

    if-ne v0, v1, :cond_2

    const/4 v6, 0x1

    :goto_0
    if-nez v6, :cond_3

    const/4 v6, 0x2

    new-array v8, v6, [D

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    move-object v6, v0

    move-object v0, v6

    move/from16 v1, p4

    move/from16 v2, p5

    move-object v3, v8

    invoke-virtual {v0, v1, v2, v3}, Lnbisdk/hf;->a(II[D)V

    invoke-virtual {v5}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v6

    const/4 v9, 0x0

    aget-wide v9, v8, v9

    sub-double/2addr v6, v9

    const-wide/high16 v9, 0x4000

    div-double/2addr v6, v9

    invoke-virtual {v5}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v9

    const/4 v11, 0x1

    aget-wide v11, v8, v11

    sub-double/2addr v9, v11

    const-wide/high16 v11, 0x4000

    div-double/2addr v9, v11

    invoke-virtual {v5}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v11

    sub-double v15, v11, v6

    invoke-virtual {v5}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v5

    sub-double v17, v5, v9

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    move-object v5, v0

    invoke-virtual {v5}, Lnbisdk/hf;->fA()Lnbisdk/hf;

    move-result-object v5

    const/4 v6, 0x2

    new-array v10, v6, [I

    const/4 v6, 0x0

    aget-wide v6, v8, v6

    const/4 v9, 0x1

    aget-wide v8, v8, v9

    invoke-virtual/range {v5 .. v10}, Lnbisdk/hf;->a(DD[I)V

    const/4 v5, 0x0

    aget v19, v10, v5

    const/4 v5, 0x1

    aget v20, v10, v5

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->bc:Lnbisdk/no;

    move-object v5, v0

    move/from16 v0, p1

    int-to-double v0, v0

    move-wide v10, v0

    const/4 v12, 0x1

    const/4 v13, 0x1

    move-wide v6, v15

    move-wide/from16 v8, v17

    invoke-interface/range {v5 .. v13}, Lnbisdk/no;->a(DDDZZ)V

    move-wide/from16 v8, v17

    move-wide v6, v15

    move/from16 v12, v20

    move/from16 v13, v19

    :goto_1
    const/4 v5, 0x0

    move-object/from16 v0, p0

    move/from16 v1, p1

    move v2, v5

    move/from16 v3, p3

    invoke-super {v0, v1, v2, v3}, Lnbisdk/cc;->a(IZZ)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    move-object v5, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    move-object v10, v0

    move-object v0, v5

    move-object/from16 v1, p0

    move-object v2, v10

    invoke-virtual {v0, v1, v2}, Lnbisdk/hf;->c(Lnbisdk/lf;Lnbisdk/ij;)V

    const/4 v10, 0x0

    move-object/from16 v5, p0

    move/from16 v11, p3

    invoke-super/range {v5 .. v11}, Lnbisdk/cc;->a(DDZZ)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    move-object v5, v0

    invoke-virtual {v5, v6, v7, v8, v9}, Lnbisdk/hf;->setCenter(DD)V

    move/from16 v0, p1

    move v1, v14

    if-ge v0, v1, :cond_4

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->bj:Lnbisdk/co;

    move-object v5, v0

    sub-int v6, v14, p1

    move-object v0, v5

    move v1, v13

    move v2, v12

    move/from16 v3, p3

    move v4, v6

    invoke-virtual {v0, v1, v2, v3, v4}, Lnbisdk/co;->b(IIZI)V

    :goto_2
    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->ib()Lcom/nbi/map/data/Rectangle;

    const/4 v5, 0x0

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lnbisdk/ao;->d(Z)V

    :goto_3
    if-nez p2, :cond_1

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->bc:Lnbisdk/no;

    move-object v5, v0

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->ca()D

    move-result-wide v6

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->cb()D

    move-result-wide v8

    move/from16 v0, p1

    int-to-double v0, v0

    move-wide v10, v0

    move/from16 v12, p2

    move/from16 v13, p3

    invoke-interface/range {v5 .. v13}, Lnbisdk/no;->a(DDDZZ)V

    :cond_1
    invoke-static {}, Lnbisdk/ao;->ap()V

    return-void

    :cond_2
    const/4 v6, 0x0

    goto/16 :goto_0

    :cond_3
    invoke-virtual {v5}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v6

    invoke-virtual {v5}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v8

    move/from16 v12, p5

    move/from16 v13, p4

    goto :goto_1

    :cond_4
    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->bj:Lnbisdk/co;

    move-object v5, v0

    sub-int v6, p1, v14

    move-object v0, v5

    move v1, v13

    move v2, v12

    move/from16 v3, p3

    move v4, v6

    invoke-virtual {v0, v1, v2, v3, v4}, Lnbisdk/co;->a(IIZI)V

    goto :goto_2

    :cond_5
    const/4 v5, 0x0

    move-object/from16 v0, p0

    move/from16 v1, p1

    move v2, v5

    move/from16 v3, p3

    invoke-super {v0, v1, v2, v3}, Lnbisdk/cc;->a(IZZ)V

    const/4 v5, 0x1

    const/4 v6, 0x0

    move-object/from16 v0, p0

    move v1, v5

    move v2, v6

    invoke-direct {v0, v1, v2}, Lnbisdk/ao;->b(ZZ)V

    goto :goto_3
.end method

.method public final a(Landroid/graphics/Canvas;Lcom/nbi/map/data/Rectangle;ZZ)V
    .locals 3

    iget-boolean v0, p0, Lnbisdk/ao;->bo:Z

    if-nez v0, :cond_1

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iC()Ljava/util/Vector;

    move-result-object v0

    const/4 v1, 0x0

    :goto_0
    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v2

    if-ge v1, v2, :cond_0

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lf;

    if-eqz p3, :cond_3

    instance-of v2, p0, Lnbisdk/cc;

    if-eqz v2, :cond_2

    invoke-virtual {p0, p1, p2, p4}, Lnbisdk/lf;->a(Landroid/graphics/Canvas;Lcom/nbi/map/data/Rectangle;Z)V

    :cond_2
    :goto_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_3
    instance-of v2, p0, Lnbisdk/cc;

    if-nez v2, :cond_2

    invoke-virtual {p0, p1, p2, p4}, Lnbisdk/lf;->a(Landroid/graphics/Canvas;Lcom/nbi/map/data/Rectangle;Z)V

    goto :goto_1
.end method

.method public final a(Lcom/nbi/map/data/ManeuverList;Lcom/nbi/map/data/ManeuverList;Ljava/lang/String;Ljava/lang/String;ZZZ)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_ROUTE_LAYER"

    invoke-virtual {v0, v1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object v0

    check-cast v0, Lnbisdk/nw;

    if-eqz v0, :cond_0

    if-eqz p1, :cond_2

    invoke-virtual {v0, p1, p2, p3, p4}, Lnbisdk/nw;->a(Lcom/nbi/map/data/ManeuverList;Lcom/nbi/map/data/ManeuverList;Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    :goto_0
    const-string v0, "NBI_ROUTE_LAYER"

    invoke-direct {p0, v0, p5}, Lnbisdk/ao;->a(Ljava/lang/String;Z)V

    iget-object v0, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    invoke-interface {v0, p5, v2}, Lnbisdk/no;->f(ZZ)V

    if-ne p6, v3, :cond_1

    invoke-virtual {p1}, Lcom/nbi/map/data/ManeuverList;->routeBoundingBox()Lcom/nbi/map/data/BoundingBox;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lcom/nbi/map/data/BoundingBox;->getPoint1()Lcom/nbi/map/data/Coordinates;

    move-result-object v1

    invoke-virtual {v0}, Lcom/nbi/map/data/BoundingBox;->getPoint2()Lcom/nbi/map/data/Coordinates;

    move-result-object v0

    invoke-virtual {p0, v1, v0, v2, v2}, Lnbisdk/ao;->a(Lcom/nbi/map/data/Coordinates;Lcom/nbi/map/data/Coordinates;ZZ)Z

    :cond_1
    invoke-direct {p0, v3, v2}, Lnbisdk/ao;->b(ZZ)V

    return-void

    :cond_2
    invoke-virtual {v0}, Lnbisdk/nw;->clear()V

    goto :goto_0
.end method

.method public final a(Lcom/nbi/map/data/Rectangle;)V
    .locals 4

    const/4 v3, 0x1

    const-string v0, "setSize"

    invoke-virtual {p1}, Lcom/nbi/map/data/Rectangle;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lnbisdk/x$1;->a(Ljava/lang/String;Ljava/lang/String;)V

    invoke-super {p0, p1}, Lnbisdk/cc;->a(Lcom/nbi/map/data/Rectangle;)V

    iget-object v0, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    invoke-virtual {p1}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v1

    invoke-virtual {p1}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v2

    invoke-interface {v0, v1, v2}, Lnbisdk/no;->e(II)V

    invoke-direct {p0, v3, v3}, Lnbisdk/ao;->b(ZZ)V

    return-void
.end method

.method public final a(Lnbisdk/cc$a;)V
    .locals 1

    invoke-direct {p0}, Lnbisdk/ao;->as()Lnbisdk/cc;

    move-result-object v0

    invoke-virtual {v0, p1}, Lnbisdk/cc;->a(Lnbisdk/cc$a;)V

    return-void
.end method

.method protected final a(Lnbisdk/cc;Lnbisdk/pc;)V
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->br:Lnbisdk/ao$b;

    invoke-virtual {v0, p2}, Lnbisdk/ao$b;->b(Lnbisdk/pc;)V

    iget-object v0, p0, Lnbisdk/ao;->bs:Lnbisdk/ao$a;

    invoke-virtual {v0}, Lnbisdk/ao$a;->bd()V

    return-void
.end method

.method public final a(Lnbisdk/ij$a;)V
    .locals 0

    iput-object p1, p0, Lnbisdk/ao;->bp:Lnbisdk/ij$a;

    return-void
.end method

.method public final a(Lnbisdk/jg;)V
    .locals 3

    const/4 v2, 0x1

    invoke-virtual {p1}, Lnbisdk/jg;->getType()Ljava/lang/String;

    move-result-object v0

    const-string v1, "road"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lnbisdk/ec;->dT()Lnbisdk/ec;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/ec;->dV()Lnbisdk/jg;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-static {}, Lnbisdk/ec;->dT()Lnbisdk/ec;

    invoke-static {p1, v0}, Lnbisdk/ec;->a(Lnbisdk/jg;Lnbisdk/jg;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_0

    invoke-direct {p0, p1, v2}, Lnbisdk/ao;->a(Lnbisdk/jg;Z)V

    :cond_0
    return-void

    :cond_1
    move v0, v2

    goto :goto_0
.end method

.method public final a(Lnbisdk/lf;Lcom/nbi/map/data/Rectangle;)V
    .locals 2

    const/4 v0, 0x0

    const/4 v1, 0x1

    invoke-direct {p0, v0, v1}, Lnbisdk/ao;->b(ZZ)V

    return-void
.end method

.method final a(Lnbisdk/pc;)V
    .locals 5

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iC()Ljava/util/Vector;

    move-result-object v1

    const/4 v0, 0x0

    move v2, v0

    :goto_0
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    invoke-virtual {v1, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lf;

    instance-of v3, v0, Lnbisdk/cc;

    if-eqz v3, :cond_0

    check-cast v0, Lnbisdk/cc;

    iget-object v3, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v3}, Lnbisdk/ij;->ke()Landroid/graphics/Canvas;

    move-result-object v3

    iget-object v4, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v4}, Lnbisdk/ij;->cd()Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v0, v3, p1}, Lnbisdk/cc;->a(Landroid/graphics/Canvas;Lnbisdk/pc;)V

    :cond_0
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_1
    return-void
.end method

.method public final a(ZZ)V
    .locals 3

    const/4 v2, 0x1

    iget v0, p0, Lnbisdk/ao;->bl:I

    const/4 v1, 0x2

    if-eq v0, v1, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    const/4 v1, 0x0

    invoke-virtual {v0, p2, v1}, Lnbisdk/ij;->k(ZZ)V

    if-nez p1, :cond_1

    invoke-virtual {p0}, Lnbisdk/ao;->aq()V

    invoke-virtual {p0, v2}, Lnbisdk/ao;->e(Z)V

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0}, Lnbisdk/ij;->ke()Landroid/graphics/Canvas;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v1}, Lnbisdk/ij;->cd()Lcom/nbi/map/data/Rectangle;

    move-result-object v1

    invoke-virtual {p0, v0, v1, v2, v2}, Lnbisdk/ao;->a(Landroid/graphics/Canvas;Lcom/nbi/map/data/Rectangle;ZZ)V

    iget-object v0, p0, Lnbisdk/ao;->aY:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->invalidate()V

    goto :goto_0

    :cond_1
    invoke-direct {p0}, Lnbisdk/ao;->as()Lnbisdk/cc;

    move-result-object v0

    invoke-virtual {v0, v2}, Lnbisdk/cc;->e(Z)V

    iget-object v1, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v1}, Lnbisdk/ij;->ke()Landroid/graphics/Canvas;

    move-result-object v1

    iget-object v2, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v2}, Lnbisdk/ij;->cd()Lcom/nbi/map/data/Rectangle;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lnbisdk/cc;->b(Landroid/graphics/Canvas;Lcom/nbi/map/data/Rectangle;)V

    goto :goto_0
.end method

.method public final a(II)Z
    .locals 2

    const/4 v1, 0x1

    invoke-virtual {p0}, Lnbisdk/ao;->aB()Lnbisdk/en;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lnbisdk/en;->g(II)Z

    move-result v0

    if-eqz v0, :cond_0

    move v0, v1

    :goto_0
    return v0

    :cond_0
    invoke-direct {p0}, Lnbisdk/ao;->aC()Lnbisdk/x;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lnbisdk/x;->g(II)Z

    move-result v0

    if-eqz v0, :cond_1

    move v0, v1

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public final a(IZ)Z
    .locals 2

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_PIN_LAYER"

    invoke-virtual {v0, v1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object p0

    check-cast p0, Lnbisdk/en;

    invoke-virtual {p0, p1, p2}, Lnbisdk/en;->a(IZ)Z

    move-result v0

    return v0
.end method

.method public final a(Lcom/nbi/map/android/Pin;Z)Z
    .locals 2

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_PIN_LAYER"

    invoke-virtual {v0, v1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object p0

    check-cast p0, Lnbisdk/en;

    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lnbisdk/en;->a(Lcom/nbi/map/android/Pin;Z)Z

    move-result v0

    return v0
.end method

.method public final a(Lcom/nbi/map/data/Coordinates;IZZZZ)Z
    .locals 19

    invoke-direct/range {p0 .. p0}, Lnbisdk/ao;->aD()Lnbisdk/fz;

    move-result-object v4

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->mapGetLocation()Lcom/nbi/map/data/Coordinates;

    move-result-object v5

    move-object v0, v4

    move-object/from16 v1, p1

    move/from16 v2, p2

    invoke-virtual {v0, v1, v2}, Lnbisdk/fz;->a(Lcom/nbi/map/data/Coordinates;I)I

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    move-object v3, v0

    const/4 v6, 0x1

    move v0, v6

    new-array v0, v0, [I

    move-object/from16 v17, v0

    invoke-virtual/range {p0 .. p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v18

    if-eqz p4, :cond_4

    if-lez p2, :cond_2

    move-object v0, v4

    move/from16 v1, p2

    invoke-virtual {v0, v1}, Lnbisdk/fz;->Y(I)[Lcom/nbi/map/data/Coordinates;

    move-result-object v12

    const/4 v4, 0x1

    new-array v15, v4, [D

    const/4 v4, 0x1

    move v0, v4

    new-array v0, v0, [D

    move-object/from16 v16, v0

    const/4 v4, 0x0

    invoke-virtual/range {p1 .. p1}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v5

    aput-wide v5, v15, v4

    const/4 v4, 0x0

    invoke-virtual/range {p1 .. p1}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v5

    aput-wide v5, v16, v4

    const/4 v4, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    aget-object v6, v12, v6

    invoke-virtual {v6}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v6

    const/4 v8, 0x0

    aget-object v8, v12, v8

    invoke-virtual {v8}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v8

    const/4 v10, 0x1

    aget-object v10, v12, v10

    invoke-virtual {v10}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v10

    const/4 v13, 0x1

    aget-object v12, v12, v13

    invoke-virtual {v12}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v12

    const/4 v14, 0x0

    invoke-virtual/range {v3 .. v17}, Lnbisdk/kr;->a(IIDDDDF[D[D[I)V

    const/16 v3, 0xf

    move/from16 v0, v18

    move v1, v3

    if-lt v0, v1, :cond_0

    const/4 v3, 0x0

    aget v3, v17, v3

    move v0, v3

    move/from16 v1, v18

    if-ge v0, v1, :cond_3

    :cond_0
    const/4 v3, 0x0

    aget v3, v17, v3

    const/16 v4, 0xf

    if-le v3, v4, :cond_1

    const/4 v3, 0x0

    const/16 v4, 0xf

    aput v4, v17, v3

    :cond_1
    invoke-virtual/range {p1 .. p1}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v4

    invoke-virtual/range {p1 .. p1}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v6

    const/4 v3, 0x0

    aget v8, v17, v3

    const/4 v10, 0x0

    move-object/from16 v3, p0

    move/from16 v9, p5

    invoke-virtual/range {v3 .. v10}, Lnbisdk/ao;->a(DDIZZ)V

    :cond_2
    :goto_0
    const/4 v3, 0x1

    return v3

    :cond_3
    invoke-virtual/range {p1 .. p1}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v4

    invoke-virtual/range {p1 .. p1}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v6

    const/4 v9, 0x0

    const/4 v10, 0x0

    move-object/from16 v3, p0

    move/from16 v8, p5

    invoke-direct/range {v3 .. v10}, Lnbisdk/ao;->a(DDZZZ)V

    goto :goto_0

    :cond_4
    if-eqz p3, :cond_5

    invoke-virtual/range {p1 .. p1}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v4

    invoke-virtual/range {p1 .. p1}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v6

    const/4 v9, 0x0

    move-object/from16 v3, p0

    move/from16 v8, p5

    invoke-virtual/range {v3 .. v9}, Lnbisdk/ao;->a(DDZZ)V

    goto :goto_0

    :cond_5
    move-object/from16 v0, p1

    move-object v1, v5

    invoke-virtual {v0, v1}, Lcom/nbi/map/data/Coordinates;->equal(Lcom/nbi/map/data/Coordinates;)Z

    move-result v3

    if-nez v3, :cond_2

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/ao;->aY:Landroid/view/View;

    move-object v3, v0

    invoke-virtual {v3}, Landroid/view/View;->invalidate()V

    goto :goto_0
.end method

.method public final a(Lcom/nbi/map/data/Coordinates;Lcom/nbi/map/data/Coordinates;ZZ)Z
    .locals 15

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    const/4 v1, 0x1

    new-array v12, v1, [D

    const/4 v1, 0x1

    new-array v13, v1, [D

    const/4 v1, 0x1

    new-array v14, v1, [I

    const/4 v1, 0x0

    const/4 v2, 0x0

    invoke-virtual/range {p1 .. p1}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v3

    invoke-virtual/range {p1 .. p1}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v5

    invoke-virtual/range {p2 .. p2}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v7

    invoke-virtual/range {p2 .. p2}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v9

    const/4 v11, 0x0

    invoke-virtual/range {v0 .. v14}, Lnbisdk/kr;->a(IIDDDDF[D[D[I)V

    if-nez p3, :cond_0

    const/4 v0, 0x0

    aget v0, v14, v0

    invoke-virtual {p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v1

    if-eq v0, v1, :cond_0

    invoke-virtual {p0}, Lnbisdk/ao;->ar()V

    :cond_0
    const/4 v0, 0x0

    aget-wide v1, v12, v0

    const/4 v0, 0x0

    aget-wide v3, v13, v0

    const/4 v0, 0x0

    aget v5, v14, v0

    move-object v0, p0

    move/from16 v6, p3

    move/from16 v7, p4

    invoke-virtual/range {v0 .. v7}, Lnbisdk/ao;->a(DDIZZ)V

    const/4 v0, 0x1

    return v0
.end method

.method public final a(Lnbisdk/al;)Z
    .locals 3

    const/4 v1, 0x0

    invoke-virtual {p1}, Lnbisdk/al;->getType()I

    move-result v2

    packed-switch v2, :pswitch_data_0

    :goto_0
    :pswitch_0
    iget-object v2, p0, Lnbisdk/ao;->br:Lnbisdk/ao$b;

    invoke-virtual {v2}, Lnbisdk/ao$b;->cy()V

    return v1

    :pswitch_1
    move-object v0, p1

    check-cast v0, Lnbisdk/oe;

    move-object v1, v0

    invoke-virtual {v1}, Lnbisdk/oe;->jI()I

    move-result v1

    const/4 v2, 0x5

    if-ne v1, v2, :cond_0

    check-cast p1, Lnbisdk/oe;

    invoke-virtual {p0, p1}, Lnbisdk/ao;->a(Lnbisdk/oe;)Z

    move-result v1

    goto :goto_0

    :cond_0
    check-cast p1, Lnbisdk/oe;

    invoke-virtual {p0, p1}, Lnbisdk/ao;->b(Lnbisdk/oe;)Z

    move-result v1

    goto :goto_0

    :pswitch_2
    check-cast p1, Lnbisdk/nv;

    invoke-virtual {p0, p1}, Lnbisdk/ao;->a(Lnbisdk/nv;)Z

    move-result v1

    goto :goto_0

    :pswitch_3
    check-cast p1, Lnbisdk/cm;

    invoke-virtual {p0, p1}, Lnbisdk/ao;->a(Lnbisdk/cm;)Z

    move-result v1

    goto :goto_0

    :pswitch_4
    check-cast p1, Lnbisdk/az;

    invoke-virtual {p0, p1}, Lnbisdk/ao;->a(Lnbisdk/az;)Z

    move-result v1

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_2
        :pswitch_0
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method

.method public final a(Lnbisdk/az;)Z
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v0

    move v2, v1

    :goto_0
    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v3

    if-ge v1, v3, :cond_1

    if-nez v2, :cond_1

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lf;

    invoke-virtual {p0}, Lnbisdk/lf;->gB()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {p0, p1}, Lnbisdk/lf;->a(Lnbisdk/az;)Z

    move-result v2

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v2
.end method

.method public final a(Lnbisdk/cm;)Z
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v0

    move v2, v1

    :goto_0
    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v3

    if-ge v1, v3, :cond_1

    if-nez v2, :cond_1

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lf;

    invoke-virtual {p0}, Lnbisdk/lf;->gB()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {p0, p1}, Lnbisdk/lf;->a(Lnbisdk/cm;)Z

    move-result v2

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v2
.end method

.method public final a(Lnbisdk/nv;)Z
    .locals 6

    const/4 v2, 0x0

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->gB()Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    invoke-virtual {v0, p1}, Lnbisdk/lf;->a(Lnbisdk/nv;)Z

    move-result v0

    :goto_0
    iget-object v1, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v1}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v1

    move v3, v0

    :goto_1
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    if-nez v3, :cond_1

    invoke-virtual {v1, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lf;

    iget-object v4, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    if-eq v0, v4, :cond_3

    invoke-virtual {v0}, Lnbisdk/lf;->gB()Z

    move-result v4

    if-eqz v4, :cond_3

    invoke-virtual {v0, p1}, Lnbisdk/lf;->a(Lnbisdk/nv;)Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {p1}, Lnbisdk/nv;->aQ()Landroid/view/MotionEvent;

    move-result-object v4

    invoke-virtual {v4}, Landroid/view/MotionEvent;->getAction()I

    move-result v4

    const/4 v5, 0x2

    if-ne v4, v5, :cond_0

    iget-object v4, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    invoke-virtual {p0}, Lnbisdk/ao;->aB()Lnbisdk/en;

    move-result-object v5

    if-ne v4, v5, :cond_0

    iput-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    :cond_0
    move v0, v3

    :goto_2
    add-int/lit8 v2, v2, 0x1

    move v3, v0

    goto :goto_1

    :cond_1
    invoke-virtual {p1}, Lnbisdk/nv;->aQ()Landroid/view/MotionEvent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    and-int/lit16 v0, v0, 0xff

    const/4 v1, 0x1

    if-ne v0, v1, :cond_2

    const/4 v0, 0x0

    iput-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    invoke-direct {p0}, Lnbisdk/ao;->av()Lnbisdk/cx;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lnbisdk/ao;->cf()Z

    move-result v1

    if-eqz v1, :cond_2

    invoke-virtual {v0, p1}, Lnbisdk/cx;->a(Lnbisdk/nv;)Z

    move-result v0

    :goto_3
    return v0

    :cond_2
    move v0, v3

    goto :goto_3

    :cond_3
    move v0, v3

    goto :goto_2

    :cond_4
    move v0, v2

    goto :goto_0
.end method

.method public final a(Lnbisdk/oe;)Z
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v0

    move v2, v1

    :goto_0
    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v3

    if-ge v1, v3, :cond_1

    if-nez v2, :cond_1

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lf;

    invoke-virtual {p0}, Lnbisdk/lf;->gB()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {p0, p1}, Lnbisdk/lf;->a(Lnbisdk/oe;)Z

    move-result v2

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v2
.end method

.method public final aA()Lnbisdk/do;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->bb:Lnbisdk/do;

    return-object v0
.end method

.method public final aB()Lnbisdk/en;
    .locals 2

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_PIN_LAYER"

    invoke-virtual {v0, v1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object p0

    check-cast p0, Lnbisdk/en;

    return-object p0
.end method

.method public final aE()Lnbisdk/co;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    return-object v0
.end method

.method public final aF()I
    .locals 3

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v1

    invoke-virtual {p0}, Lnbisdk/ao;->cc()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lnbisdk/hf;->b(II)I

    move-result v0

    return v0
.end method

.method public final aG()V
    .locals 10

    const-wide/high16 v8, 0x4000

    const/4 v4, 0x2

    const/4 v6, 0x1

    const/4 v5, 0x0

    iget-object v0, p0, Lnbisdk/ao;->bq:Lnbisdk/aj;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lnbisdk/ao;->bq:Lnbisdk/aj;

    iget-object v1, v0, Lnbisdk/aj;->mMatrix:Landroid/graphics/Matrix;

    if-eqz v1, :cond_3

    const/16 v1, 0x9

    new-array v1, v1, [F

    iget-object v0, v0, Lnbisdk/aj;->mMatrix:Landroid/graphics/Matrix;

    invoke-virtual {v0, v1}, Landroid/graphics/Matrix;->getValues([F)V

    aget v0, v1, v5

    :goto_1
    float-to-double v0, v0

    invoke-static {v0, v1}, Ljava/lang/Math;->log(D)D

    move-result-wide v0

    invoke-static {v8, v9}, Ljava/lang/Math;->log(D)D

    move-result-wide v2

    div-double/2addr v0, v2

    const-wide/16 v2, 0x0

    cmpl-double v2, v0, v2

    if-lez v2, :cond_4

    invoke-static {v0, v1}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v0

    double-to-int v0, v0

    move v7, v0

    :goto_2
    new-array v0, v4, [I

    iget-object v1, p0, Lnbisdk/ao;->bq:Lnbisdk/aj;

    if-eqz v0, :cond_2

    iget-object v2, v1, Lnbisdk/aj;->ax:Landroid/graphics/PointF;

    iget v2, v2, Landroid/graphics/PointF;->x:F

    float-to-double v2, v2

    invoke-static {v2, v3}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v2

    double-to-int v2, v2

    aput v2, v0, v5

    iget-object v1, v1, Lnbisdk/aj;->ax:Landroid/graphics/PointF;

    iget v1, v1, Landroid/graphics/PointF;->y:F

    float-to-double v1, v1

    invoke-static {v1, v2}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v1

    double-to-int v1, v1

    aput v1, v0, v6

    :cond_2
    new-array v3, v4, [D

    iget-object v1, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    aget v2, v0, v5

    aget v0, v0, v6

    invoke-virtual {v1, v2, v0, v3}, Lnbisdk/hf;->a(II[D)V

    new-array v0, v4, [D

    iget-object v1, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {p0}, Lnbisdk/ao;->id()I

    move-result v2

    invoke-virtual {p0}, Lnbisdk/ao;->ie()I

    move-result v4

    invoke-virtual {v1, v2, v4, v0}, Lnbisdk/hf;->a(II[D)V

    invoke-virtual {p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v0

    add-int/2addr v0, v7

    invoke-super {p0, v0, v5, v6}, Lnbisdk/cc;->a(IZZ)V

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    iget-object v1, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0, p0, v1}, Lnbisdk/hf;->c(Lnbisdk/lf;Lnbisdk/ij;)V

    aget-wide v1, v3, v5

    aget-wide v3, v3, v6

    move-object v0, p0

    invoke-virtual/range {v0 .. v6}, Lnbisdk/ao;->a(DDZZ)V

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    int-to-double v1, v7

    invoke-static {v8, v9, v1, v2}, Ljava/lang/Math;->pow(DD)D

    move-result-wide v1

    double-to-float v1, v1

    invoke-virtual {v0, v1}, Lnbisdk/ij;->d(F)V

    invoke-static {}, Lnbisdk/ao;->ap()V

    invoke-direct {p0, v6, v5}, Lnbisdk/ao;->b(ZZ)V

    invoke-virtual {p0, v5, v6}, Lnbisdk/ao;->a(ZZ)V

    goto/16 :goto_0

    :cond_3
    const/high16 v0, 0x3f80

    goto :goto_1

    :cond_4
    invoke-static {v0, v1}, Ljava/lang/Math;->floor(D)D

    move-result-wide v0

    double-to-int v0, v0

    move v7, v0

    goto :goto_2
.end method

.method public final aH()Z
    .locals 2

    invoke-static {}, Lnbisdk/ec;->dT()Lnbisdk/ec;

    move-result-object v0

    invoke-virtual {p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v1

    invoke-virtual {v0, v1}, Lnbisdk/ec;->M(I)I

    move-result v0

    const/16 v1, 0x8

    if-lt v0, v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected final aI()Landroid/graphics/BitmapFactory$Options;
    .locals 2

    iget-object v0, p0, Lnbisdk/ao;->bt:Landroid/graphics/BitmapFactory$Options;

    if-nez v0, :cond_0

    new-instance v0, Landroid/graphics/BitmapFactory$Options;

    invoke-direct {v0}, Landroid/graphics/BitmapFactory$Options;-><init>()V

    iput-object v0, p0, Lnbisdk/ao;->bt:Landroid/graphics/BitmapFactory$Options;

    iget-object v0, p0, Lnbisdk/ao;->bt:Landroid/graphics/BitmapFactory$Options;

    const/high16 v1, 0x2

    new-array v1, v1, [B

    iput-object v1, v0, Landroid/graphics/BitmapFactory$Options;->inTempStorage:[B

    :cond_0
    iget-object v0, p0, Lnbisdk/ao;->bt:Landroid/graphics/BitmapFactory$Options;

    return-object v0
.end method

.method public final ah()Lnbisdk/aj;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->bq:Lnbisdk/aj;

    return-object v0
.end method

.method public final ai()Lnbisdk/kr;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    return-object v0
.end method

.method public final aj()Lnbisdk/gu;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0}, Lnbisdk/ij;->kf()Lnbisdk/gu;

    move-result-object v0

    return-object v0
.end method

.method public final ak()Lnbisdk/ij;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    return-object v0
.end method

.method public final al()Lnbisdk/no;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    return-object v0
.end method

.method public final am()Lcom/nbi/map/data/Rectangle;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0}, Lnbisdk/ij;->cd()Lcom/nbi/map/data/Rectangle;

    move-result-object v0

    return-object v0
.end method

.method public final an()Landroid/graphics/Bitmap;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->bf:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method public final ao()Lnbisdk/dm;
    .locals 3

    iget-object v0, p0, Lnbisdk/ao;->bd:Lnbisdk/o;

    if-nez v0, :cond_0

    new-instance v0, Lnbisdk/o;

    new-instance v1, Lnbisdk/ao$3;

    invoke-direct {v1, p0}, Lnbisdk/ao$3;-><init>(Lnbisdk/ao;)V

    invoke-virtual {p0}, Lnbisdk/ao;->hZ()Lcom/nbi/common/NBIContext;

    move-result-object v2

    invoke-direct {v0, p0, v1, v2}, Lnbisdk/o;-><init>(Lnbisdk/cc;Lnbisdk/qs;Lcom/nbi/common/NBIContext;)V

    iput-object v0, p0, Lnbisdk/ao;->bd:Lnbisdk/o;

    :cond_0
    iget-object v0, p0, Lnbisdk/ao;->bd:Lnbisdk/o;

    return-object v0
.end method

.method protected final aq()V
    .locals 3

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iC()Ljava/util/Vector;

    move-result-object v1

    const/4 v0, 0x0

    move v2, v0

    :goto_0
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_0

    invoke-virtual {v1, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->aq()V

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_0
    invoke-virtual {p0}, Lnbisdk/ao;->ao()Lnbisdk/dm;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/dm;->cancelRequest()V

    return-void
.end method

.method public final ar()V
    .locals 11

    const/4 v10, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0}, Lnbisdk/ij;->ke()Landroid/graphics/Canvas;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v1}, Lnbisdk/ij;->cd()Lcom/nbi/map/data/Rectangle;

    move-result-object v1

    const-string v2, "TileMapControl"

    const-string v3, "drawOffScreenBackground"

    invoke-static {v2, v3}, Lnbisdk/x$1;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v2, p0, Lnbisdk/ao;->bf:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v2

    iget-object v3, p0, Lnbisdk/ao;->bf:Landroid/graphics/Bitmap;

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v3

    move v4, v10

    :goto_0
    invoke-virtual {v1}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v5

    if-ge v4, v5, :cond_1

    move v5, v10

    :goto_1
    invoke-virtual {v1}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v6

    if-ge v5, v6, :cond_0

    iget-object v6, p0, Lnbisdk/ao;->bf:Landroid/graphics/Bitmap;

    int-to-float v7, v4

    int-to-float v8, v5

    iget-object v9, p0, Lnbisdk/ao;->ba:Landroid/graphics/Paint;

    invoke-virtual {v0, v6, v7, v8, v9}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V

    add-int/2addr v5, v3

    goto :goto_1

    :cond_0
    add-int/2addr v4, v2

    goto :goto_0

    :cond_1
    return-void
.end method

.method public final at()V
    .locals 4

    const/4 v3, 0x1

    invoke-direct {p0}, Lnbisdk/ao;->as()Lnbisdk/cc;

    move-result-object v0

    const/4 v1, 0x2

    const/4 v2, 0x0

    invoke-direct {p0, v0, v1, v2}, Lnbisdk/ao;->a(Lnbisdk/cc;IZ)V

    invoke-direct {p0, v3, v3}, Lnbisdk/ao;->b(ZZ)V

    return-void
.end method

.method public final au()V
    .locals 3

    const/4 v2, 0x1

    invoke-direct {p0}, Lnbisdk/ao;->as()Lnbisdk/cc;

    move-result-object v0

    const/4 v1, 0x0

    invoke-direct {p0, v0, v2, v1}, Lnbisdk/ao;->a(Lnbisdk/cc;IZ)V

    invoke-direct {p0, v2, v2}, Lnbisdk/ao;->b(ZZ)V

    return-void
.end method

.method public final aw()V
    .locals 4

    const/4 v3, 0x1

    invoke-direct {p0}, Lnbisdk/ao;->as()Lnbisdk/cc;

    move-result-object v0

    const/4 v1, 0x4

    const/4 v2, 0x0

    invoke-direct {p0, v0, v1, v2}, Lnbisdk/ao;->a(Lnbisdk/cc;IZ)V

    invoke-direct {p0, v3, v3}, Lnbisdk/ao;->b(ZZ)V

    return-void
.end method

.method public final ax()V
    .locals 1

    invoke-virtual {p0}, Lnbisdk/ao;->aB()Lnbisdk/en;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/en;->ax()V

    invoke-direct {p0}, Lnbisdk/ao;->aC()Lnbisdk/x;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/x;->ax()V

    return-void
.end method

.method public final ay()Lcom/nbi/map/android/Pin;
    .locals 1

    invoke-virtual {p0}, Lnbisdk/ao;->aB()Lnbisdk/en;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/en;->ay()Lcom/nbi/map/android/Pin;

    move-result-object v0

    return-object v0
.end method

.method public final az()I
    .locals 1

    invoke-virtual {p0}, Lnbisdk/ao;->aB()Lnbisdk/en;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/en;->az()I

    move-result v0

    return v0
.end method

.method public final b(Lnbisdk/oe;)Z
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v0

    move v2, v1

    :goto_0
    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v3

    if-ge v1, v3, :cond_1

    if-nez v2, :cond_1

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lf;

    invoke-virtual {p0}, Lnbisdk/lf;->gB()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {p0, p1}, Lnbisdk/lf;->b(Lnbisdk/oe;)Z

    move-result v2

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v2
.end method

.method public final c(ZZ)V
    .locals 2

    const-string v0, "NBI_TRAFFIC_LAYER"

    invoke-direct {p0, v0, p1}, Lnbisdk/ao;->a(Ljava/lang/String;Z)V

    iget-object v0, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    const/4 v1, 0x0

    invoke-interface {v0, p1, v1}, Lnbisdk/no;->h(ZZ)V

    invoke-static {}, Lnbisdk/ao;->ap()V

    return-void
.end method

.method public final cancelAnimation()V
    .locals 1

    invoke-virtual {p0}, Lnbisdk/ao;->isAnimating()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->cp()V

    :cond_0
    return-void
.end method

.method public final d(ZZ)V
    .locals 2

    const/4 v1, 0x0

    const-string v0, "NBI_TRAFFIC_INCIDENT_LAYER"

    invoke-direct {p0, v0, p1}, Lnbisdk/ao;->a(Ljava/lang/String;Z)V

    iget-object v0, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    invoke-interface {v0, p1, v1}, Lnbisdk/no;->g(ZZ)V

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v0}, Lnbisdk/hf;->fI()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    invoke-direct {p0, v0, v1}, Lnbisdk/ao;->b(ZZ)V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0, v1, v1}, Lnbisdk/ao;->a(ZZ)V

    goto :goto_0
.end method

.method public final d(Landroid/view/MotionEvent;)Z
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v0

    move v2, v1

    :goto_0
    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v3

    if-ge v1, v3, :cond_1

    if-nez v2, :cond_1

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lf;

    invoke-virtual {p0}, Lnbisdk/lf;->gB()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {p0, p1}, Lnbisdk/lf;->d(Landroid/view/MotionEvent;)Z

    move-result v2

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v2
.end method

.method public final destroy()V
    .locals 5

    const/4 v4, 0x0

    const/4 v3, 0x0

    iget-object v0, p0, Lnbisdk/ao;->bu:Landroid/telephony/PhoneStateListener;

    if-eqz v0, :cond_0

    :try_start_0
    invoke-virtual {p0}, Lnbisdk/ao;->hZ()Lcom/nbi/common/NBIContext;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nbi/common/NBIContext;->getInternalObject()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/bl;

    invoke-virtual {v0}, Lnbisdk/bl;->jw()Landroid/content/Context;

    move-result-object v0

    const-string v1, "phone"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/telephony/TelephonyManager;

    iget-object v1, p0, Lnbisdk/ao;->bu:Landroid/telephony/PhoneStateListener;

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/telephony/TelephonyManager;->listen(Landroid/telephony/PhoneStateListener;I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iC()Ljava/util/Vector;

    move-result-object v1

    move v2, v4

    :goto_1
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    invoke-virtual {v1, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->destroy()V

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_1

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lnbisdk/ao;->bs:Lnbisdk/ao$a;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lnbisdk/ao;->bs:Lnbisdk/ao$a;

    invoke-virtual {v0}, Lnbisdk/ao$a;->destroy()V

    iput-object v3, p0, Lnbisdk/ao;->bs:Lnbisdk/ao$a;

    :cond_2
    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->destroy()V

    iput-object v3, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    :cond_3
    iput-object v3, p0, Lnbisdk/ao;->bf:Landroid/graphics/Bitmap;

    iput-object v3, p0, Lnbisdk/ao;->be:Lnbisdk/cc;

    iput-object v3, p0, Lnbisdk/ao;->br:Lnbisdk/ao$b;

    iget-object v0, p0, Lnbisdk/ao;->bd:Lnbisdk/o;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lnbisdk/ao;->bd:Lnbisdk/o;

    invoke-virtual {v0}, Lnbisdk/o;->destroy()V

    iput-object v3, p0, Lnbisdk/ao;->bd:Lnbisdk/o;

    :cond_4
    iput-object v3, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    iput-object v3, p0, Lnbisdk/ao;->bb:Lnbisdk/do;

    iput-object v3, p0, Lnbisdk/ao;->ba:Landroid/graphics/Paint;

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0}, Lnbisdk/ij;->destroy()V

    iput-object v3, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    :cond_5
    iput-object v3, p0, Lnbisdk/ao;->aY:Landroid/view/View;

    iput-object v3, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    iput-object v3, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    iput-object v3, p0, Lnbisdk/ao;->bt:Landroid/graphics/BitmapFactory$Options;

    invoke-super {p0}, Lnbisdk/cc;->destroy()V

    return-void
.end method

.method protected final e(Z)V
    .locals 3

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->isAnimating()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->fb()Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->fe()Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v1

    const/4 v0, 0x0

    move v2, v0

    :goto_1
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_3

    invoke-virtual {v1, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lf;

    invoke-virtual {v0, p1}, Lnbisdk/lf;->e(Z)V

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lnbisdk/ao;->bs:Lnbisdk/ao$a;

    invoke-virtual {v0}, Lnbisdk/ao$a;->be()V

    goto :goto_0
.end method

.method public final e(Landroid/view/MotionEvent;)Z
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v1

    move v3, v2

    :goto_0
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    if-nez v3, :cond_1

    invoke-virtual {v1, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->gB()Z

    move-result v4

    if-eqz v4, :cond_2

    invoke-virtual {v0, p1}, Lnbisdk/lf;->e(Landroid/view/MotionEvent;)Z

    move-result v3

    if-eqz v3, :cond_0

    iput-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    :cond_0
    move v0, v3

    :goto_1
    add-int/lit8 v2, v2, 0x1

    move v3, v0

    goto :goto_0

    :cond_1
    return v3

    :cond_2
    move v0, v3

    goto :goto_1
.end method

.method public final f(Z)V
    .locals 2

    const/4 v1, 0x1

    const-string v0, "NBI_PIN_LAYER"

    invoke-direct {p0, v0, p1}, Lnbisdk/ao;->a(Ljava/lang/String;Z)V

    invoke-direct {p0, v1, v1}, Lnbisdk/ao;->b(ZZ)V

    return-void
.end method

.method public final f(Landroid/view/MotionEvent;)Z
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->gB()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    invoke-virtual {v0, p1}, Lnbisdk/lf;->f(Landroid/view/MotionEvent;)Z

    move-result v0

    :goto_0
    iget-object v1, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v1}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v1

    move v4, v2

    move v2, v0

    move v0, v4

    :goto_1
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v3

    if-ge v0, v3, :cond_1

    if-nez v2, :cond_1

    invoke-virtual {v1, v0}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lf;

    invoke-virtual {p0}, Lnbisdk/lf;->gB()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {p0, p1}, Lnbisdk/lf;->f(Landroid/view/MotionEvent;)Z

    move-result v2

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_1
    return v2

    :cond_2
    move v0, v2

    goto :goto_0
.end method

.method public final g(Z)V
    .locals 9

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->eY()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->eZ()V

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v0}, Lnbisdk/hf;->fB()V

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lnbisdk/co;->w(Z)V

    iget-object v0, p0, Lnbisdk/ao;->bv:Lcom/nbi/map/data/Coordinates;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/ao;->bv:Lcom/nbi/map/data/Coordinates;

    invoke-virtual {v0}, Lcom/nbi/map/data/Coordinates;->getLatitude()D

    move-result-wide v1

    iget-object v0, p0, Lnbisdk/ao;->bv:Lcom/nbi/map/data/Coordinates;

    invoke-virtual {v0}, Lcom/nbi/map/data/Coordinates;->getLongitude()D

    move-result-wide v3

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    invoke-super/range {v0 .. v6}, Lnbisdk/cc;->a(DDZZ)V

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v0, v1, v2, v3, v4}, Lnbisdk/hf;->a(DD)Z

    iget-object v0, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v0, v1, v2, v3, v4}, Lnbisdk/hf;->setCenter(DD)V

    const/4 v0, 0x0

    const/4 v5, 0x1

    invoke-direct {p0, v0, v5}, Lnbisdk/ao;->b(ZZ)V

    iget-object v0, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    invoke-virtual {p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v5

    int-to-double v5, v5

    const/4 v7, 0x1

    const/4 v8, 0x0

    invoke-interface/range {v0 .. v8}, Lnbisdk/no;->a(DDDZZ)V

    const/4 v0, 0x0

    iput-object v0, p0, Lnbisdk/ao;->bv:Lcom/nbi/map/data/Coordinates;

    :cond_0
    invoke-virtual {p0, p1}, Lnbisdk/ao;->h(Z)V

    const/4 v0, 0x0

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lnbisdk/ao;->a(ZZ)V

    :cond_1
    return-void
.end method

.method public final getNextPin(I)I
    .locals 1

    invoke-virtual {p0}, Lnbisdk/ao;->aB()Lnbisdk/en;

    move-result-object v0

    invoke-virtual {v0, p1}, Lnbisdk/en;->getNextPin(I)I

    move-result v0

    return v0
.end method

.method public final getPin(I)Lcom/nbi/map/android/Pin;
    .locals 1

    invoke-virtual {p0}, Lnbisdk/ao;->aB()Lnbisdk/en;

    move-result-object v0

    invoke-virtual {v0, p1}, Lnbisdk/en;->getPin(I)Lcom/nbi/map/android/Pin;

    move-result-object v0

    return-object v0
.end method

.method public final getPinCount()I
    .locals 1

    invoke-virtual {p0}, Lnbisdk/ao;->aB()Lnbisdk/en;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/en;->getPinCount()I

    move-result v0

    return v0
.end method

.method public final getPrevPin(I)I
    .locals 1

    invoke-virtual {p0}, Lnbisdk/ao;->aB()Lnbisdk/en;

    move-result-object v0

    invoke-virtual {v0, p1}, Lnbisdk/en;->getPrevPin(I)I

    move-result v0

    return v0
.end method

.method public final getView()Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->aY:Landroid/view/View;

    return-object v0
.end method

.method public final h(Z)V
    .locals 9

    iget-object v0, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    invoke-virtual {p0}, Lnbisdk/ao;->ca()D

    move-result-wide v1

    invoke-virtual {p0}, Lnbisdk/ao;->cb()D

    move-result-wide v3

    invoke-virtual {p0}, Lnbisdk/ao;->getZoomLevel()I

    move-result v5

    int-to-double v5, v5

    const/4 v7, 0x0

    move v8, p1

    invoke-interface/range {v0 .. v8}, Lnbisdk/no;->a(DDDZZ)V

    return-void
.end method

.method public final isAnimating()Z
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->isAnimating()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v0}, Lnbisdk/co;->eY()Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public final isImageReady(IIII)Z
    .locals 4

    const/4 v0, 0x2

    new-array v0, v0, [I

    iget-object v1, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v1, p1, p2, v0}, Lnbisdk/hf;->a(II[I)V

    new-instance v1, Lcom/nbi/map/data/Rectangle;

    const/4 v2, 0x0

    aget v2, v0, v2

    const/4 v3, 0x1

    aget v0, v0, v3

    invoke-direct {v1, v2, v0, p3, p4}, Lcom/nbi/map/data/Rectangle;-><init>(IIII)V

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0, v1}, Lnbisdk/ij;->e(Lcom/nbi/map/data/Rectangle;)Z

    move-result v0

    return v0
.end method

.method public final isRouteLayerVisible()Z
    .locals 1

    const-string v0, "NBI_ROUTE_LAYER"

    invoke-direct {p0, v0}, Lnbisdk/ao;->f(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method public final isTrafficIncidentsLayerVisible()Z
    .locals 1

    const-string v0, "NBI_TRAFFIC_INCIDENT_LAYER"

    invoke-direct {p0, v0}, Lnbisdk/ao;->f(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method public final isTrafficLayerVisible()Z
    .locals 1

    const-string v0, "NBI_TRAFFIC_LAYER"

    invoke-direct {p0, v0}, Lnbisdk/ao;->f(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method public final mapGetLocation()Lcom/nbi/map/data/Coordinates;
    .locals 1

    invoke-direct {p0}, Lnbisdk/ao;->aD()Lnbisdk/fz;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/fz;->eP()Lcom/nbi/map/data/Coordinates;

    move-result-object v0

    return-object v0
.end method

.method public final mapShowLocation(Z)Z
    .locals 3

    const/4 v2, 0x1

    invoke-direct {p0}, Lnbisdk/ao;->aD()Lnbisdk/fz;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/fz;->isVisible()Z

    move-result v1

    if-eq v1, p1, :cond_0

    invoke-virtual {v0, p1}, Lnbisdk/fz;->setVisible(Z)V

    const/4 v0, 0x0

    invoke-direct {p0, v0, v2}, Lnbisdk/ao;->b(ZZ)V

    :cond_0
    return v2
.end method

.method public final onDoubleTap(Landroid/view/MotionEvent;)Z
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v0

    move v2, v1

    :goto_0
    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v3

    if-ge v1, v3, :cond_1

    if-nez v2, :cond_1

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lf;

    invoke-virtual {p0}, Lnbisdk/lf;->gB()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {p0, p1}, Lnbisdk/lf;->onDoubleTap(Landroid/view/MotionEvent;)Z

    move-result v2

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v2
.end method

.method public final onDown(Landroid/view/MotionEvent;)Z
    .locals 6

    const/4 v2, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v1

    move v3, v2

    :goto_0
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    if-nez v3, :cond_1

    invoke-virtual {v1, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->gB()Z

    move-result v4

    if-eqz v4, :cond_2

    invoke-virtual {v0, p1}, Lnbisdk/lf;->onDown(Landroid/view/MotionEvent;)Z

    move-result v3

    if-eqz v3, :cond_0

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "Setting current mTouchLayer to "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v0}, Lnbisdk/lf;->getName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iput-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    :cond_0
    move v0, v3

    :goto_1
    add-int/lit8 v2, v2, 0x1

    move v3, v0

    goto :goto_0

    :cond_1
    return v3

    :cond_2
    move v0, v3

    goto :goto_1
.end method

.method public final onDraw(Landroid/graphics/Canvas;)V
    .locals 10

    const/4 v7, 0x5

    const/4 v6, 0x2

    const/4 v3, 0x1

    const/4 v9, 0x0

    invoke-virtual {p0}, Lnbisdk/ao;->cf()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v0}, Lnbisdk/ij;->kh()Landroid/graphics/Bitmap;

    move-result-object v0

    invoke-virtual {p0}, Lnbisdk/ao;->ib()Lcom/nbi/map/data/Rectangle;

    move-result-object v1

    if-eqz v0, :cond_0

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    invoke-virtual {p1}, Landroid/graphics/Canvas;->getMatrix()Landroid/graphics/Matrix;

    move-result-object v2

    iget-object v3, p0, Lnbisdk/ao;->bn:[F

    invoke-virtual {v2, v3}, Landroid/graphics/Matrix;->getValues([F)V

    iget-object v3, p0, Lnbisdk/ao;->bq:Lnbisdk/aj;

    new-instance v4, Landroid/graphics/Matrix;

    iget-object v3, v3, Lnbisdk/aj;->mMatrix:Landroid/graphics/Matrix;

    invoke-direct {v4, v3}, Landroid/graphics/Matrix;-><init>(Landroid/graphics/Matrix;)V

    invoke-virtual {v2, v4}, Landroid/graphics/Matrix;->set(Landroid/graphics/Matrix;)V

    iget-object v3, p0, Lnbisdk/ao;->bn:[F

    aget v3, v3, v6

    iget-object v4, p0, Lnbisdk/ao;->bn:[F

    aget v4, v4, v7

    invoke-virtual {v2, v3, v4}, Landroid/graphics/Matrix;->postTranslate(FF)Z

    invoke-virtual {p1, v2}, Landroid/graphics/Canvas;->setMatrix(Landroid/graphics/Matrix;)V

    iget-object v2, p0, Lnbisdk/ao;->bg:Landroid/graphics/Rect;

    invoke-virtual {v1}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v3

    invoke-virtual {v1}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v4

    invoke-virtual {v2, v9, v9, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    iget-object v2, p0, Lnbisdk/ao;->bh:Landroid/graphics/Rect;

    invoke-virtual {v1}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v3

    invoke-virtual {v1}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v4

    invoke-virtual {v2, v9, v9, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    iget-object v2, p0, Lnbisdk/ao;->bg:Landroid/graphics/Rect;

    iget-object v3, p0, Lnbisdk/ao;->bh:Landroid/graphics/Rect;

    iget-object v4, p0, Lnbisdk/ao;->ba:Landroid/graphics/Paint;

    invoke-virtual {p1, v0, v2, v3, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    invoke-virtual {p0, p1, v1, v9, v9}, Lnbisdk/ao;->a(Landroid/graphics/Canvas;Lcom/nbi/map/data/Rectangle;ZZ)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0}, Lnbisdk/ao;->ib()Lcom/nbi/map/data/Rectangle;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    const/4 v1, 0x0

    iget v2, p0, Lnbisdk/ao;->bl:I

    if-nez v2, :cond_6

    iput v3, p0, Lnbisdk/ao;->bl:I

    :cond_2
    :goto_1
    iget-object v2, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v2}, Lnbisdk/co;->isAnimating()Z

    move-result v2

    if-eqz v2, :cond_7

    iget-object v1, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v1}, Lnbisdk/ij;->kh()Landroid/graphics/Bitmap;

    move-result-object v1

    if-eqz v1, :cond_3

    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    invoke-virtual {p1}, Landroid/graphics/Canvas;->getMatrix()Landroid/graphics/Matrix;

    move-result-object v2

    iget-object v3, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v3}, Lnbisdk/co;->getScale()F

    move-result v3

    iget-object v4, p0, Lnbisdk/ao;->bn:[F

    invoke-virtual {v2, v4}, Landroid/graphics/Matrix;->getValues([F)V

    invoke-virtual {v2}, Landroid/graphics/Matrix;->reset()V

    iget-object v4, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v4}, Lnbisdk/co;->fc()I

    move-result v4

    int-to-float v4, v4

    iget-object v5, p0, Lnbisdk/ao;->bj:Lnbisdk/co;

    invoke-virtual {v5}, Lnbisdk/co;->fd()I

    move-result v5

    int-to-float v5, v5

    invoke-virtual {v2, v3, v3, v4, v5}, Landroid/graphics/Matrix;->setScale(FFFF)V

    iget-object v3, p0, Lnbisdk/ao;->bn:[F

    aget v3, v3, v6

    iget-object v4, p0, Lnbisdk/ao;->bn:[F

    aget v4, v4, v7

    invoke-virtual {v2, v3, v4}, Landroid/graphics/Matrix;->postTranslate(FF)Z

    invoke-virtual {p1, v2}, Landroid/graphics/Canvas;->setMatrix(Landroid/graphics/Matrix;)V

    iget-object v2, p0, Lnbisdk/ao;->bg:Landroid/graphics/Rect;

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v3

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v4

    invoke-virtual {v2, v9, v9, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    iget-object v2, p0, Lnbisdk/ao;->bh:Landroid/graphics/Rect;

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v3

    invoke-virtual {v0}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v4

    invoke-virtual {v2, v9, v9, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    iget-object v2, p0, Lnbisdk/ao;->bg:Landroid/graphics/Rect;

    iget-object v3, p0, Lnbisdk/ao;->bh:Landroid/graphics/Rect;

    iget-object v4, p0, Lnbisdk/ao;->ba:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    :cond_3
    :goto_2
    if-nez v1, :cond_5

    iget-boolean v1, p0, Lnbisdk/ao;->bo:Z

    if-nez v1, :cond_4

    invoke-virtual {p0}, Lnbisdk/ao;->ar()V

    :cond_4
    iget-object v1, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    iget-object v2, p0, Lnbisdk/ao;->bi:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v1, v2}, Lnbisdk/hf;->c(Lcom/nbi/map/data/Rectangle;)V

    iget-object v1, p0, Lnbisdk/ao;->bi:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v1}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v1

    if-eqz v1, :cond_5

    iget-object v1, p0, Lnbisdk/ao;->aZ:Lnbisdk/ij;

    invoke-virtual {v1}, Lnbisdk/ij;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v1

    iget-object v2, p0, Lnbisdk/ao;->bi:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v2}, Lcom/nbi/map/data/Rectangle;->getLeft()I

    move-result v2

    iget-object v3, p0, Lnbisdk/ao;->bi:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v3}, Lcom/nbi/map/data/Rectangle;->getTop()I

    move-result v3

    iget-object v4, p0, Lnbisdk/ao;->bi:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v4}, Lcom/nbi/map/data/Rectangle;->getWidth()I

    move-result v4

    iget-object v5, p0, Lnbisdk/ao;->bi:Lcom/nbi/map/data/Rectangle;

    invoke-virtual {v5}, Lcom/nbi/map/data/Rectangle;->getHeight()I

    move-result v5

    iget-object v6, p0, Lnbisdk/ao;->bg:Landroid/graphics/Rect;

    add-int v7, v2, v4

    add-int v8, v3, v5

    invoke-virtual {v6, v2, v3, v7, v8}, Landroid/graphics/Rect;->set(IIII)V

    iget-object v2, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v2}, Lnbisdk/kr;->fG()I

    move-result v2

    if-gez v2, :cond_8

    neg-int v2, v2

    :goto_3
    iget-object v3, p0, Lnbisdk/ao;->aW:Lnbisdk/hf;

    invoke-virtual {v3}, Lnbisdk/kr;->fH()I

    move-result v3

    if-gez v3, :cond_9

    neg-int v3, v3

    :goto_4
    iget-object v6, p0, Lnbisdk/ao;->bh:Landroid/graphics/Rect;

    add-int/2addr v4, v2

    add-int/2addr v5, v3

    invoke-virtual {v6, v2, v3, v4, v5}, Landroid/graphics/Rect;->set(IIII)V

    iget-object v2, p0, Lnbisdk/ao;->bg:Landroid/graphics/Rect;

    iget-object v3, p0, Lnbisdk/ao;->bh:Landroid/graphics/Rect;

    iget-object v4, p0, Lnbisdk/ao;->ba:Landroid/graphics/Paint;

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    :cond_5
    invoke-virtual {p0, p1, v0, v9, v9}, Lnbisdk/ao;->a(Landroid/graphics/Canvas;Lcom/nbi/map/data/Rectangle;ZZ)V

    invoke-direct {p0}, Lnbisdk/ao;->aC()Lnbisdk/x;

    move-result-object v1

    invoke-virtual {v1, p1, v0, v9}, Lnbisdk/x;->b(Landroid/graphics/Canvas;Lcom/nbi/map/data/Rectangle;Z)V

    iget-object v0, p0, Lnbisdk/ao;->bc:Lnbisdk/no;

    invoke-interface {v0, p1}, Lnbisdk/no;->a(Landroid/graphics/Canvas;)V

    goto/16 :goto_0

    :cond_6
    iget v2, p0, Lnbisdk/ao;->bl:I

    if-ne v2, v3, :cond_2

    invoke-direct {p0}, Lnbisdk/ao;->ag()V

    goto/16 :goto_1

    :cond_7
    invoke-direct {p0}, Lnbisdk/ao;->av()Lnbisdk/cx;

    goto :goto_2

    :cond_8
    move v2, v9

    goto :goto_3

    :cond_9
    move v3, v9

    goto :goto_4
.end method

.method public final onFling(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->gB()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    invoke-virtual {v0, p1, p2, p3, p4}, Lnbisdk/lf;->onFling(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z

    move-result v0

    :goto_0
    iget-object v1, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v1}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v1

    move v3, v0

    :goto_1
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_0

    if-nez v3, :cond_0

    invoke-virtual {v1, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->gB()Z

    move-result v4

    if-eqz v4, :cond_1

    invoke-virtual {v0, p1, p2, p3, p4}, Lnbisdk/lf;->onFling(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z

    move-result v0

    :goto_2
    add-int/lit8 v2, v2, 0x1

    move v3, v0

    goto :goto_1

    :cond_0
    const/4 v0, 0x0

    iput-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    return v3

    :cond_1
    move v0, v3

    goto :goto_2

    :cond_2
    move v0, v2

    goto :goto_0
.end method

.method public final onLowMemory()V
    .locals 3

    const-string v0, "TileMapControl"

    const-string v1, "onLowMemory"

    invoke-static {v0, v1}, Lnbisdk/x$1;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iC()Ljava/util/Vector;

    move-result-object v1

    const/4 v0, 0x0

    move v2, v0

    :goto_0
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_0

    invoke-virtual {v1, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->onLowMemory()V

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lnbisdk/ao;->bd:Lnbisdk/o;

    invoke-virtual {v0}, Lnbisdk/o;->onLowMemory()V

    return-void
.end method

.method public final onScroll(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->gB()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    invoke-virtual {v0, p1, p2, p3, p4}, Lnbisdk/lf;->onScroll(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z

    move-result v0

    :goto_0
    iget-object v1, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v1}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v1

    move v4, v2

    move v2, v0

    move v0, v4

    :goto_1
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v3

    if-ge v0, v3, :cond_1

    if-nez v2, :cond_1

    invoke-virtual {v1, v0}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lf;

    invoke-virtual {p0}, Lnbisdk/lf;->gB()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {p0, p1, p1, p3, p4}, Lnbisdk/lf;->onScroll(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z

    move-result v2

    :cond_0
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_1
    return v2

    :cond_2
    move v0, v2

    goto :goto_0
.end method

.method public final onSingleTapConfirmed(Landroid/view/MotionEvent;)Z
    .locals 5

    const/4 v2, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v1

    move v3, v2

    :goto_0
    invoke-virtual {v1}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v2, v0, :cond_0

    if-nez v3, :cond_0

    invoke-virtual {v1, v2}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lnbisdk/lf;

    invoke-virtual {v0}, Lnbisdk/lf;->gB()Z

    move-result v4

    if-eqz v4, :cond_1

    invoke-virtual {v0, p1}, Lnbisdk/lf;->onSingleTapConfirmed(Landroid/view/MotionEvent;)Z

    move-result v0

    :goto_1
    add-int/lit8 v2, v2, 0x1

    move v3, v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    iput-object v0, p0, Lnbisdk/ao;->bk:Lnbisdk/lf;

    return v3

    :cond_1
    move v0, v3

    goto :goto_1
.end method

.method public final onSingleTapUp(Landroid/view/MotionEvent;)Z
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    invoke-virtual {v0}, Lnbisdk/mn;->iD()Ljava/util/Vector;

    move-result-object v0

    move v2, v1

    :goto_0
    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v3

    if-ge v1, v3, :cond_1

    if-nez v2, :cond_1

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/lf;

    invoke-virtual {p0}, Lnbisdk/lf;->gB()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-virtual {p0, p1}, Lnbisdk/lf;->onSingleTapUp(Landroid/view/MotionEvent;)Z

    move-result v2

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v2
.end method

.method public final postDelayed(Ljava/lang/Runnable;J)Z
    .locals 1

    iget-object v0, p0, Lnbisdk/ao;->aY:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/ao;->aY:Landroid/view/View;

    invoke-virtual {v0, p1, p2, p3}, Landroid/view/View;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public final setPinImage(ILcom/nbi/map/android/PinImage;)Z
    .locals 2

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_PIN_LAYER"

    invoke-virtual {v0, v1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object p0

    check-cast p0, Lnbisdk/en;

    invoke-virtual {p0, p1, p2}, Lnbisdk/en;->setPinImage(ILcom/nbi/map/android/PinImage;)Z

    move-result v0

    return v0
.end method

.method public final setStandardPinImage(ILcom/nbi/map/android/PinImage;)Z
    .locals 2

    iget-object v0, p0, Lnbisdk/ao;->aX:Lnbisdk/mn;

    const-string v1, "NBI_PIN_LAYER"

    invoke-virtual {v0, v1}, Lnbisdk/mn;->ar(Ljava/lang/String;)Lnbisdk/lf;

    move-result-object p0

    check-cast p0, Lnbisdk/en;

    invoke-virtual {p0, p1, p2}, Lnbisdk/en;->setStandardPinImage(ILcom/nbi/map/android/PinImage;)Z

    move-result v0

    return v0
.end method
